package com.example.graduate.mapper;

import com.example.graduate.pojo.RechargeSerial;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface RechargeSerialMapper {

    /**
     * 充值提现流水插入
     * @return
     */
    Long insertRechargeSerial(String operationType, double mount, Long userId);

    /**
     * 获取充值流水订单
     */
    List<RechargeSerial> selectRechargeSerialByUserId(Long userId,List<String> operationTypes);
}
